<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <title>{{ title | default('资产管理系统-登陆') }}</title>

    <!-- Base Styles -->
    <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet">
    <link href="{{ url_for('static', filename='css/style-responsive.css') }}" rel="stylesheet">
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="{{ url_for('static', filename='js/html5shiv.js') }}"></script>
    <script src="{{ url_for('static', filename='js/respond.min.js') }}"></script>
    <![endif]-->


</head>

  <body class="login-body">
      <h2 class="form-heading"><b>CMDB</b>运维平台</h2>
      <div class="container log-row">
          <form class="form-signin" method="post">
              <div class="login-wrap">
{#                  {% if form.username.errors %}#}
{#                      <label class="text-red">{{ form.username.errors[0] }}</label>#}
{#                  {% endif %}#}
                  {{ form.username(class="form-control", placeholder="用户名") }}
                  {{ form.password(class="form-control", placeholder="密码") }}
                  {% for message in get_flashed_messages() %}
                  <div class="alert alert-error" style="background: orange">
                      <button type="button" class="close" data-dismiss="alert">&times;</button>
                      {{ message }}
                  </div>
                  {% endfor %}
                  <button class="btn btn-lg btn-success btn-block" type="submit">登陆</button>
                  <label class="checkbox-custom check-success">
                      <input type="checkbox" value="y" id="remember_me" name="remember_me"> <label for="remember_me">记住账号</label>
                  </label>
              </div>

          </form>
      </div>
      <!--jquery-1.11.1.min-->
      <script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>
      <!--Bootstrap Js-->
      <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>

  </body>
</html>
